package humanMirror.model.analyzer;

public class SimpleBraineAnalyzer extends OrganAnalyzer {

    public SimpleBraineAnalyzer() {
        //magic numbers!!!
        final int LOW_VERY_BED = 0;
        final int HIGHT_VERY_BED = 20;

        final int LOW_BED = 21;
        final int HIGHT_BED = 40;

        final int LOW_NORM = 41;
        final int HIGHT_NORM = 70;

        final int LOW_GOOD = 71;
        final int HIGHT_GOOD = 100;

        organName = "Brain";
        doctorName = "Brain doctor";
        
        knowledges = new String[3];

        knowledges[0] = "fatigue";
        knowledges[1] = "oxygenation";
        knowledges[2] = "memory";

        knowledgeBase.addKnowledge(LOW_VERY_BED, HIGHT_VERY_BED,
                "Орган у дуже поганому стані! Необхідне термінове лікування!");
        knowledgeBase.addKnowledge(LOW_BED, HIGHT_BED,
                "На орган слід звернути увагу, можуть бути серйозні проблеми!");
        knowledgeBase.addKnowledge(LOW_NORM, HIGHT_NORM,
                "Орган у нормі!");
        knowledgeBase.addKnowledge(LOW_GOOD, HIGHT_GOOD,
                "Орган працює чудово!");
    }
}
